import http from '@/common/api/http';

export function getEquipmentTypeOptions(params) {
  return http.get('/deviceCategory/getDeviceCategory', {
    params
  })
}


export function postEquipmentType(data) {
  return http.post('/deviceCategory/addDeviceCategory', data)
}

export function putEquipmentType(data) {
  return http.post('/deviceCategory/edit', data)
}

export function putEquipmentEquipmentType(data) {
  return http.post('/deviceCategory/bindDeviceCategory', data)
}

export function deleteEquipmentType(data) {
  return http.post('/deviceCategory/delete', data)
}

export function deleteEquipmentEquipmentType(data) {
  return http.post('/deviceCategory/unBindDeviceCategory', data)
}